package com.wlps.vo.warehousecenter.warehousing;

import com.wlps.entity.PurchaseReceipt;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/8/14
 */
@Service
@Mapper(componentModel = "spring")
public interface PurchaseReceiptMapping {

    /**
     * @return
     */
    PurchaseReceiptVo entityToVo(PurchaseReceipt purchaseReceipt);


    /**
     * @param purchaseReceiptList
     * @return
     */
    List<PurchaseReceiptVo> entitysToVos(List<PurchaseReceipt> purchaseReceiptList);
}
